<?php
// +----------------------------------------------------------------------
// | Fanwe 多语商城建站系统 (Build on ThinkPHP)
// +----------------------------------------------------------------------
// | Copyright (c) 2009 http://www.fanwe.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 云淡风轻(97139915@qq.com)
// +----------------------------------------------------------------------

// 手动发送短信
class SendAction extends CommonAction{
	function index()
	{
		$this->assign("HTTP_URL", "http://" . $_SERVER ['HTTP_HOST']);
		
		//清空1天前的发送队列		
		M()->query("delete from ".C("DB_PREFIX")."mail_send_list where status = 1 and ".gmtTime()."-send_time>".(3600*24));
		$this->display();
	}
}
?>